package com.umakr.ax.security.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.umakr.ax.core.base.BaseModel;

import java.util.Date;


/**
 * <p>
 * 用户
 * </p>
 *
 * @author gx
 * @since 2017-04-25
 */
@TableName("rd_user")
@SuppressWarnings("serial")
public class User extends BaseModel {

    /**
     * 账户
     */
	private String account;
    /**
     * 密码
     */
	private String password;
    /**
     * 状态
     */
	private Integer status;
    /**
     * 备注
     */
	private String remark;
    /**
     * 最后登录时间
     */
	@TableField("last_login_time")
	private Date lastLoginTime;

	/**
	 * 最后密码设置时间
	 */
	@TableField("last_pd_reset_time")
	private Date lastPdRestTime;
	/**
	 * 部门id
	 */
	@TableField("dept_id")
	private Integer deptId;
	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public Integer getDeptId() {
		return deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	public Date getLastPdRestTime() {
		return lastPdRestTime;
	}

	public void setLastPdRestTime(Date lastPdRestTime) {
		this.lastPdRestTime = lastPdRestTime;
	}
}